package com.ygxsk.carhome.response;

import android.os.Parcel;
import android.os.Parcelable;

/*
 * @Author:itchenqi175@163.com
 * @Time:2023-07-11  19:41
 * @Description:添加潜在客户的实体内容
 */
public class LeadListItemBean implements Parcelable {

    //客户的名称列表
    private String customerName;
    //客户的手机号
    private String customerPhone;

    //这个条目的状态，分配状态
    private int status;
    //该条目的状态的文字形式
    private String statusName;


    //车辆类型的状态
    private String latentType;
    //车辆类型的状态汉字形式
    private String latentTypeName;


    //客户的来源状态
    private int createsource;
    //客户的来源状态文字形式
    private String createsourceName;

    private transient String customerId;

    //该潜客列表的 这条数据的id
    private String latentCustomerId;

    //是否被选中 2024-2-21 在档案管理页面添加的
    private transient int isChecked;

    //客户的年龄 这个好像是出生年月 "age":"1824-01-01 00:00:00",
    private transient String age;

    //客户的年龄 是数字格式的
    private transient int ageNum;

    //客户的性别1和0的区别
    private transient int memberSex;

    //客户的微信号信息
    private transient String weChat;


    public String getWeChat() {
        return weChat;
    }

    public void setWeChat(String weChat) {
        this.weChat = weChat;
    }

    public int getMemberSex() {
        return memberSex;
    }

    public void setMemberSex(int memberSex) {
        this.memberSex = memberSex;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public int getAgeNum() {
        return ageNum;
    }

    public void setAgeNum(int ageNum) {
        this.ageNum = ageNum;
    }

    public int getIsChecked() {
        return isChecked;
    }

    public void setIsChecked(int isChecked) {
        this.isChecked = isChecked;
    }

    public String getLatentCustomerId() {
        return latentCustomerId;
    }

    public void setLatentCustomerId(String latentCustomerId) {
        this.latentCustomerId = latentCustomerId;
    }

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCustomerPhone() {
        return customerPhone;
    }

    public void setCustomerPhone(String customerPhone) {
        this.customerPhone = customerPhone;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getStatusName() {
        return statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    public String getLatentType() {
        return latentType;
    }

    public void setLatentType(String latentType) {
        this.latentType = latentType;
    }

    public String getLatentTypeName() {
        return latentTypeName;
    }

    public void setLatentTypeName(String latentTypeName) {
        this.latentTypeName = latentTypeName;
    }

    public int getCreatesource() {
        return createsource;
    }

    public void setCreatesource(int createsource) {
        this.createsource = createsource;
    }

    public String getCreatesourceName() {
        return createsourceName;
    }

    public void setCreatesourceName(String createsourceName) {
        this.createsourceName = createsourceName;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.customerName);
        dest.writeString(this.customerPhone);
        dest.writeInt(this.status);
        dest.writeString(this.statusName);
        dest.writeString(this.latentType);
        dest.writeString(this.latentTypeName);
        dest.writeInt(this.createsource);
        dest.writeString(this.createsourceName);
        dest.writeString(this.latentCustomerId);
    }

    public void readFromParcel(Parcel source) {
        this.customerName = source.readString();
        this.customerPhone = source.readString();
        this.status = source.readInt();
        this.statusName = source.readString();
        this.latentType = source.readString();
        this.latentTypeName = source.readString();
        this.createsource = source.readInt();
        this.createsourceName = source.readString();
        this.latentCustomerId = source.readString();
    }

    public LeadListItemBean() {
    }

    protected LeadListItemBean(Parcel in) {
        this.customerName = in.readString();
        this.customerPhone = in.readString();
        this.status = in.readInt();
        this.statusName = in.readString();
        this.latentType = in.readString();
        this.latentTypeName = in.readString();
        this.createsource = in.readInt();
        this.createsourceName = in.readString();
        this.latentCustomerId = in.readString();
    }

    public static final Parcelable.Creator<LeadListItemBean> CREATOR = new Parcelable.Creator<LeadListItemBean>() {
        @Override
        public LeadListItemBean createFromParcel(Parcel source) {
            return new LeadListItemBean(source);
        }

        @Override
        public LeadListItemBean[] newArray(int size) {
            return new LeadListItemBean[size];
        }
    };
}
